package com.yupi.project.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.yupi.project.common.BaseResponse;

/**
 * @Author: LiangXinRui
 * @Date: 2023/08/07/19:35
 * @Description:
 */
public class CustomerBlockHandler {
    public static BaseResponse handlerException(BlockException exception) {
        return new BaseResponse(4444,"请不要点击过快，给我们一点反应时间吧~~~(*￣︶￣)~~~");
    }

    public static BaseResponse handlerException2(BlockException exception) {
        return new BaseResponse(4444,"按客戶自定义,global handlerException----2");
    }
}
